home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / xlib / xcbitmap / xcbitmap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-15  |  1.3 KB  |  38 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XCBITMAP - header file
  4. ;
  5. ;   This module was written by Matthew MacKenzie
  6. ;   matm@eng.umd.edu
  7. ;
  8. ;
  9. ; ****** XLIB - Mode X graphics library                ****************
  10. ; ******                                               ****************
  11. ; ****** Written By Themie Gouthas                     ****************
  12. ;
  13. ; egg@dstos3.dsto.gov.au
  14. ; teg@bart.dsto.gov.au
  15. ;
  16. ;----------------------------------------------------------------------*/
  17. /* Notice that there is no function in this module to plot a
  18.    compiled bitmap.  Use x_put_cbitmap in module XCBITMAP. */
  19.  
  20. /* This module is only for 386+ class computers. */
  21.  
  22. #ifndef _XCBITMAP_H_
  23. #define _XCBITMAP_H_
  24.  
  25. int x_compile_bitmap (      /* Compile a linear bitmap to generate  */
  26.               int logical_screen_width, /* machine code to plot it at any */
  27.               char * bitmap,      /* required screen coordinates FAST. */
  28.               char * output);
  29.  
  30. int x_sizeof_cbitmap (        /* Find the size of the code which a  */
  31.               int logical_screen_width, /* bitmap would result in, if it  */
  32.               char * bitmap);  /* were compiled (used for allocation). */
  33.  
  34. void x_put_cbitmap(ushort XPos, ushort YPos, ushort PageOffset, char * Sprite);
  35.  
  36.  
  37. #endif
  38.